*************************************************
* Purpose -- Master do file for 
* "Restaurant Employment, Minimum Wages, and 
* Border Discontinuities"
************************************************

clear all
* run path_master first

***********************************************
* Cleaning
***********************************************

do "$code/01_cleaning/01_seer_population_data.do"

do "$code/01_cleaning/02_clean_qcew_annual_county.do"

do "$code/01_cleaning/03_clean_qcew_quarterly_county.do"

do "$code/01_cleaning/04_ak_de_ri_90s.do"

do "$code/01_cleaning/05_clean_qcew_annual_state.do"

do "$code/01_cleaning/06_prep_samples_qcew.do"

do "$code/01_cleaning/07_prep_samples_qcew_quarterly.do"

do "$code/01_cleaning/08_prep_samples_cbp.do"




***********************************************
* Analysis
***********************************************

do "$code/02_analysis/01_twfe_cbp.do"

do "$code/02_analysis/02_twfe_qcew.do"

do "$code/02_analysis/03_twfe_qcew_quarterly.do"

do "$code/02_analysis/04_create_events_cbp.do"

do "$code/02_analysis/05_event_study_cdlz.do"

do "$code/02_analysis/06_event_study_qcew.do"

do "$code/02_analysis/07_ever_treated_vs_never_treated_qcew.do"

do "$code/02_analysis/08_maps.do"

do "$code/02_analysis/09_twfe_binary_sim.do"

do "$code/02_analysis/10_actualmw_sim.do"
